The SMTK is integrated into your Java IDE during installation. Please note that the IDE integration is intended to create MIDlets suitable for the Java enabled module and for debugging using the emulator. JAR files used in the module must be configured according to the batch file examples given. If the SMTK install succeeded, you can easily switch between the Siemens environment and Standard-JDK environment, the special libraries/APIs and emulators are available, and AT commands can be sent to the module. Regular function of the IDE for non-Siemens projects is unchanged.
Using the debugger please keep in mind that the MIDlet-URL, included in the Jad file, has to indicate and store the location where the emulator will find the corresponding Jar file. Generally the location will only be the file name for the Jar file.
If you are using Eclipse IDE the location of the Jar file is “deployed\<filename>.jar”. Please check this path name inside the Jad file before starting a debugging session with Eclipse IDE and change it manually, if the “deployed” subdirectory is missing. Please keep in mind, that the subdirectory “deployed” is used as a default setting in the Eclipse IDE and can be changed by the user within the Eclipse menu.
While using "on-device debugging" the ME is restarted after the end of each debugging session. This is independent of the used IDE (Eclipse 3.0.1, Eclipse 3.0.2, Eclipse 3.1.0, Eclipse 3.1.1, Eclipse 3.1.2, Eclipse 3.2.x
1, NetBeans IDE 5.0, NetBeans 5.5.x
10, JBuilder X, JBuilder 2005, JBuilder 2006 Enterprise/Developer).
Please note that the USB port has to be disconnected manually before the module is restarted, in case of using a connected terminal program on USB port for directing the Java “System.out”. It is recommended to use ASC0 or ASC1 for directing Java “System.out” to avoid closing manually the COM port.